<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	
	<body>
		<div id="vue">
			<h3>数值: {{num}}</h3>
			<button @click="{{num++}}">简写自增</button>
			<button v-on:click="num++">自增</button>
		</div>
		
		<script src="../js/vue.js"></script>
		<script >
		const APP=new Vue({
			el: "#vue",
			data: {
				num: 1,
			}
		})
		
		</script>	
		
	</body>
</html>
